﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using HAUtil.DosRunUtil;

namespace HA.ModFlow.Application.DosRun
{
    public class MT3DMSRunObject:RunObject
    {
        public MT3DMSRunObject(MT3DMSSolution solution)
        {

            this.InnerRunInstance = solution;

            RunCommand rc = new RunCommand("MT3DMS", "MT3DMS", "mt3dms5b.exe", "mt3dms.nam");
            this.Commands.Add(rc);

            //RunCommand rcPM = new RunCommand("pm","pm","pm.exe","pm.ini");
            //this.Commands.Add(rcPM);
            //RunCommand btnToUnfPM = new RunCommand("btnToUnf", "btnToUnf", "btntounf.exe", "pm.ini");
            //this.Commands.Add(btnToUnfPM);

            //for (int i = 0; i < ProjectSerivce.DefaultService.Project.Mt3dmsData.BasicTransport.SpeciesCollecion.SpeciesCount; i++)
            //{
            //    string pmFileName = " " + HA.MT3DMS .FileLayer .FileNameConfigHelper .GetMT3DResultPmIniName (i);

            //    RunCommand haPM = new RunCommand("postmt3d", "postmt3d", "postmt3d.exe", pmFileName);
            //    this.Commands.Add(haPM);

            //}


            this.WorkPath = ProjectService.DefaultService.GetProjPath(ProjPath.SOLUTION);


        }


    }
}
